package cn.qiku.rf.resources
{
	import cn.qiku.rf.events.RFLoaderEvent;
	import cn.qiku.rf.rpc.RemoteToken;
	
	public class ResourceToken extends RemoteToken
	{
		public function ResourceToken(name:String='')
		{
			addEventListeners();
			super("Resourece Operation"+name);
		}
		
		private function addEventListeners():void{
			
			
			addEventListener(RFLoaderEvent.COMPLETE,completeHandler,false,0,true);
		}
		private function completeHandler(e:RFLoaderEvent):void{
			
			removeEventListener(RFLoaderEvent.COMPLETE,completeHandler);
			
		}
		public var data:Object;
		
		
	}
}